<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">

<html><head><title>Index - Bonfire</title><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script><script language=JavaScript src="../javascript/searchdata.js"></script></head><body class="IndexPage" onLoad="NDOnLoad()"><script language=JavaScript><!--
if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>

<!--  Generated by Natural Docs, version 1.5 -->
<!--  http://www.naturaldocs.org  -->

<!-- saved from url=(0026)http://www.naturaldocs.org -->




<div id=Index><div class=IPageTitle>Index</div><div class=INavigationBar><a href="General.html#Symbols">$#!</a> &middot; 0-9 &middot; <a href="General.html#A">A</a> &middot; <a href="General.html#B">B</a> &middot; <a href="General2.html#C">C</a> &middot; <a href="General3.html#D">D</a> &middot; <a href="General3.html#E">E</a> &middot; <a href="General3.html#F">F</a> &middot; <a href="#G">G</a> &middot; <a href="#H">H</a> &middot; <a href="#I">I</a> &middot; <a href="#J">J</a> &middot; <a href="#K">K</a> &middot; <a href="#L">L</a> &middot; <a href="General5.html#M">M</a> &middot; <a href="General5.html#N">N</a> &middot; <a href="General5.html#O">O</a> &middot; <a href="General5.html#P">P</a> &middot; <a href="General5.html#Q">Q</a> &middot; <a href="General5.html#R">R</a> &middot; <a href="General6.html#S">S</a> &middot; <a href="General6.html#T">T</a> &middot; <a href="General7.html#U">U</a> &middot; <a href="General7.html#V">V</a> &middot; <a href="General7.html#W">W</a> &middot; X &middot; <a href="General7.html#Y">Y</a> &middot; Z</div><table border=0 cellspacing=0 cellpadding=0><tr><td class=IHeading id=IFirstHeading><a name="G"></a>G</td><td></td></tr><tr><td class=ISymbolPrefix id=IFirstSymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/libraries/assets-php.html#Assets_Class.generate_file" id=link191 onMouseOver="ShowTip(event, 'tt181', 'link191')" onMouseOut="HideTip('tt181')" class=ISymbol>generate_file</a>, <span class=IParent>Assets Class</span></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/libraries/template-php.html#Template.get" id=link192 onMouseOver="ShowTip(event, 'tt182', 'link192')" onMouseOut="HideTip('tt182')" class=ISymbol>get</a>, <span class=IParent>Template</span></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/core_modules/migrations/libraries/Migrations-php.html#Migrations_Class.get_available_versions" id=link193 onMouseOver="ShowTip(event, 'tt183', 'link193')" onMouseOut="HideTip('tt183')" class=ISymbol>get_available_versions</a>, <span class=IParent>Migrations Class</span></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/core/MY_Model-php.html#BF_Model.get_field" id=link194 onMouseOver="ShowTip(event, 'tt184', 'link194')" onMouseOut="HideTip('tt184')" class=ISymbol>get_field</a>, <span class=IParent>BF_Model</span></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/core_modules/migrations/libraries/Migrations-php.html#Migrations_Class.get_latest_version" id=link195 onMouseOver="ShowTip(event, 'tt185', 'link195')" onMouseOut="HideTip('tt185')" class=ISymbol>get_latest_version</a>, <span class=IParent>Migrations Class</span></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/core_modules/users/models/user_model-php.html#User_model.get_login_attempts" id=link196 onMouseOver="ShowTip(event, 'tt186', 'link196')" onMouseOut="HideTip('tt186')" class=ISymbol>get_login_attempts</a>, <span class=IParent>User_model</span></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/libraries/Console-php.html#Console.get_logs" id=link197 onMouseOver="ShowTip(event, 'tt187', 'link197')" onMouseOut="HideTip('tt187')" class=ISymbol>get_logs</a>, <span class=IParent>Console</span></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/core_modules/roles/models/role_model-php.html#Role_model.get_role_permissions" id=link198 onMouseOver="ShowTip(event, 'tt188', 'link198')" onMouseOut="HideTip('tt188')" class=ISymbol>get_role_permissions</a>, <span class=IParent>Role_model</span></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/core_modules/migrations/libraries/Migrations-php.html#Migrations_Class.get_schema_version" id=link199 onMouseOver="ShowTip(event, 'tt189', 'link199')" onMouseOut="HideTip('tt189')" class=ISymbol>get_schema_version</a>, <span class=IParent>Migrations Class</span></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/core/MY_Model-php.html#BF_Model.get_table" id=link200 onMouseOver="ShowTip(event, 'tt190', 'link200')" onMouseOut="HideTip('tt190')" class=ISymbol>get_table</a>, <span class=IParent>BF_Model</span></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files2/introduction/getting_started-txt.html#Getting_Started" id=link201 onMouseOver="ShowTip(event, 'tt191', 'link201')" onMouseOut="HideTip('tt191')" class=ISymbol>Getting Started</a></td></tr><tr><td class=ISymbolPrefix id=ILastSymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/helpers/application_helper-php.html#gravatar_link" id=link202 onMouseOver="ShowTip(event, 'tt192', 'link202')" onMouseOut="HideTip('tt192')" class=ISymbol>gravatar_link</a></td></tr><tr><td class=IHeading><a name="H"></a>H</td><td></td></tr><tr><td class=ISymbolPrefix id=IFirstSymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files2/designers/ajax-txt.html#Handling_AJAX" id=link203 onMouseOver="ShowTip(event, 'tt193', 'link203')" onMouseOut="HideTip('tt193')" class=ISymbol>Handling AJAX</a></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/core_modules/users/libraries/auth-php.html#Auth.has_permission" id=link204 onMouseOver="ShowTip(event, 'tt194', 'link204')" onMouseOut="HideTip('tt194')" class=ISymbol>has_permission</a>, <span class=IParent>Auth</span></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/core_modules/users/models/user_model-php.html#User_model.hash_password" id=link205 onMouseOver="ShowTip(event, 'tt195', 'link205')" onMouseOut="HideTip('tt195')" class=ISymbol>hash_password</a>, <span class=IParent>User_model</span></td></tr><tr><td class=ISymbolPrefix id=ILastSymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files2/introduction/concepts-txt.html#HMVC" id=link206 onMouseOver="ShowTip(event, 'tt196', 'link206')" onMouseOut="HideTip('tt196')" class=ISymbol>HMVC</a></td></tr><tr><td class=IHeading><a name="I"></a>I</td><td></td></tr><tr><td class=ISymbolPrefix id=IFirstSymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/core_modules/users/libraries/auth-php.html#Auth.identity" id=link207 onMouseOver="ShowTip(event, 'tt197', 'link207')" onMouseOut="HideTip('tt197')" class=ISymbol>identity</a>, <span class=IParent>Auth</span></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/libraries/assets-php.html#Assets_Class.image" id=link208 onMouseOver="ShowTip(event, 'tt198', 'link208')" onMouseOut="HideTip('tt198')" class=ISymbol>image</a>, <span class=IParent>Assets Class</span></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files2/introduction/concepts-txt.html#Important_Concepts" id=link209 onMouseOver="ShowTip(event, 'tt199', 'link209')" onMouseOut="HideTip('tt199')" class=ISymbol>Important Concepts</a></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/core_modules/users/libraries/auth-php.html#Auth.increase_login_attempts" id=link210 onMouseOver="ShowTip(event, 'tt200', 'link210')" onMouseOut="HideTip('tt200')" class=ISymbol>increase_login_attempts</a>, <span class=IParent>Auth</span></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><span class=ISymbol>index</span><div class=ISubIndex><span class=IParent>Global</span><div class=ISubIndex><a href="../files/core_modules/modulebuilder/controllers/developer-php.html#index" id=link211 onMouseOver="ShowTip(event, 'tt201', 'link211')" onMouseOut="HideTip('tt201')" class=IFile>core_modules/<wbr>modulebuilder/<wbr>controllers/<wbr>developer.php</a><a href="../files/core_modules/modulebuilder/views/files/controller-php.html#index" id=link212 onMouseOver="ShowTip(event, 'tt201', 'link212')" onMouseOut="HideTip('tt201')" class=IFile>core_modules/<wbr>modulebuilder/<wbr>views/<wbr>files/<wbr>controller.php</a><a href="../files/core_modules/subnav/controllers/subnav-php.html#index" id=link213 onMouseOver="ShowTip(event, 'tt201', 'link213')" onMouseOut="HideTip('tt201')" class=IFile>core_modules/<wbr>subnav/<wbr>controllers/<wbr>subnav.php</a></div><a href="../files/core_modules/activities/controllers/reports-php.html#Activities_Reports_Context.index" id=link214 onMouseOver="ShowTip(event, 'tt202', 'link214')" onMouseOut="HideTip('tt202')" class=IParent>Activities Reports Context</a><a href="../files/core_modules/logs/controllers/developer-php.html#Logs_Developer_Context.index" id=link215 onMouseOver="ShowTip(event, 'tt203', 'link215')" onMouseOut="HideTip('tt203')" class=IParent>Logs Developer Context</a></div></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><span class=ISymbol>init</span><div class=ISubIndex><a href="../files/libraries/assets-php.html#Assets_Class.init" id=link216 onMouseOver="ShowTip(event, 'tt204', 'link216')" onMouseOut="HideTip('tt204')" class=IParent>Assets Class</a><a href="../files/libraries/Console-php.html#Console.init" id=link217 onMouseOver="ShowTip(event, 'tt205', 'link217')" onMouseOut="HideTip('tt205')" class=IParent>Console</a><a href="../files/libraries/events-php.html#Events_Class.init" id=link218 onMouseOver="ShowTip(event, 'tt206', 'link218')" onMouseOut="HideTip('tt206')" class=IParent>Events Class</a><a href="../files/libraries/template-php.html#Template.init" id=link219 onMouseOver="ShowTip(event, 'tt207', 'link219')" onMouseOut="HideTip('tt207')" class=IParent>Template</a></div></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/libraries/assets-php.html#Assets_Class.inline_js" id=link220 onMouseOver="ShowTip(event, 'tt208', 'link220')" onMouseOut="HideTip('tt208')" class=ISymbol>inline_js</a>, <span class=IParent>Assets Class</span></td></tr><tr><td class=ISymbolPrefix>$</td><td class=IEntry><a href="../files/libraries/assets-php.html#Assets_Class.$inline_scripts" id=link221 onMouseOver="ShowTip(event, 'tt209', 'link221')" onMouseOut="HideTip('tt209')" class=ISymbol>inline_scripts</a>, <span class=IParent>Assets Class</span></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><span class=ISymbol>insert</span><div class=ISubIndex><a href="../files/core/MY_Model-php.html#BF_Model.insert" id=link222 onMouseOver="ShowTip(event, 'tt210', 'link222')" onMouseOut="HideTip('tt210')" class=IParent>BF_Model</a><a href="../files/core_modules/users/models/user_model-php.html#User_model.insert" id=link223 onMouseOver="ShowTip(event, 'tt211', 'link223')" onMouseOut="HideTip('tt211')" class=IParent>User_model</a></div></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/core_modules/migrations/libraries/Migrations-php.html#Migrations_Class.install" id=link224 onMouseOver="ShowTip(event, 'tt212', 'link224')" onMouseOut="HideTip('tt212')" class=ISymbol>install</a>, <span class=IParent>Migrations Class</span></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/core_modules/install/controllers/install-php.html#Install" id=link225 onMouseOver="ShowTip(event, 'tt213', 'link225')" onMouseOut="HideTip('tt213')" class=ISymbol>Install</a></td></tr><tr><td class=ISymbolPrefix>$</td><td class=IEntry><a href="../files/core_modules/users/libraries/auth-php.html#Auth.$ip_address" id=link226 onMouseOver="ShowTip(event, 'tt214', 'link226')" onMouseOut="HideTip('tt214')" class=ISymbol>ip_address</a>, <span class=IParent>Auth</span></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/core_modules/users/libraries/auth-php.html#Auth.is_logged_in" id=link227 onMouseOver="ShowTip(event, 'tt215', 'link227')" onMouseOut="HideTip('tt215')" class=ISymbol>is_logged_in</a>, <span class=IParent>Auth</span></td></tr><tr><td class=ISymbolPrefix id=ILastSymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/core/MY_Model-php.html#BF_Model.is_unique" id=link228 onMouseOver="ShowTip(event, 'tt216', 'link228')" onMouseOut="HideTip('tt216')" class=ISymbol>is_unique</a>, <span class=IParent>BF_Model</span></td></tr><tr><td class=IHeading><a name="J"></a>J</td><td></td></tr><tr><td class=ISymbolPrefix id=IFirstSymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/core_modules/activities/assets/js/jquery-dataTables-min-js.html#jquery.dataTables.min.js" id=link229 onMouseOver="ShowTip(event, 'tt217', 'link229')" onMouseOut="HideTip('tt217')" class=ISymbol>jquery.<wbr>dataTables.<wbr>min.js</a></td></tr><tr><td class=ISymbolPrefix id=ILastSymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/libraries/assets-php.html#Assets_Class.js" id=link230 onMouseOver="ShowTip(event, 'tt218', 'link230')" onMouseOut="HideTip('tt218')" class=ISymbol>js</a>, <span class=IParent>Assets Class</span></td></tr><tr><td class=IHeading><a name="K"></a>K</td><td></td></tr><tr><td class=ISymbolPrefix id=IOnlySymbolPrefix>$</td><td class=IEntry><a href="../files/core/MY_Model-php.html#BF_Model.$key" id=link231 onMouseOver="ShowTip(event, 'tt219', 'link231')" onMouseOut="HideTip('tt219')" class=ISymbol>key</a>, <span class=IParent>BF_Model</span></td></tr><tr><td class=IHeading><a name="L"></a>L</td><td></td></tr><tr><td class=ISymbolPrefix id=IFirstSymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/core_modules/migrations/libraries/Migrations-php.html#Migrations_Class.latest" id=link232 onMouseOver="ShowTip(event, 'tt220', 'link232')" onMouseOut="HideTip('tt220')" class=ISymbol>latest</a>, <span class=IParent>Migrations Class</span></td></tr><tr><td class=ISymbolPrefix>$</td><td class=IEntry><a href="../files/libraries/template-php.html#Template.$layout" id=link233 onMouseOver="ShowTip(event, 'tt221', 'link233')" onMouseOut="HideTip('tt221')" class=ISymbol>layout</a>, <span class=IParent>Template</span></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files2/basic_info/license-txt.html#License_Agreement" id=link234 onMouseOver="ShowTip(event, 'tt222', 'link234')" onMouseOut="HideTip('tt222')" class=ISymbol>License Agreement</a></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/core/MY_Model-php.html#BF_Model.limit" id=link235 onMouseOver="ShowTip(event, 'tt223', 'link235')" onMouseOut="HideTip('tt223')" class=ISymbol>limit</a>, <span class=IParent>BF_Model</span></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files2/general_topics/ajax-txt.html#Links" id=link236 onMouseOver="ShowTip(event, 'tt224', 'link236')" onMouseOut="HideTip('tt224')" class=ISymbol>Links</a></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/core_modules/users/libraries/auth-php.html#Auth.load_permission" id=link237 onMouseOver="ShowTip(event, 'tt225', 'link237')" onMouseOut="HideTip('tt225')" class=ISymbol>load_permission</a>, <span class=IParent>Auth</span></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/libraries/template-php.html#Template.load_view" id=link238 onMouseOver="ShowTip(event, 'tt226', 'link238')" onMouseOut="HideTip('tt226')" class=ISymbol>load_view</a>, <span class=IParent>Template</span></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files2/core_modules/activities-txt.html#Loading_the_Module" id=link239 onMouseOver="ShowTip(event, 'tt227', 'link239')" onMouseOut="HideTip('tt227')" class=ISymbol>Loading the Module</a></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files2/core_modules/ui-txt.html#Loading_the_UI_module" id=link240 onMouseOver="ShowTip(event, 'tt228', 'link240')" onMouseOut="HideTip('tt228')" class=ISymbol>Loading the UI module</a></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/libraries/Console-php.html#Console.log" id=link241 onMouseOver="ShowTip(event, 'tt229', 'link241')" onMouseOut="HideTip('tt229')" class=ISymbol>log</a>, <span class=IParent>Console</span></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/core_modules/activities/models/activity_model-php.html#Activities.log_activity" id=link242 onMouseOver="ShowTip(event, 'tt230', 'link242')" onMouseOut="HideTip('tt230')" class=ISymbol>log_activity</a>, <span class=IParent>Activities</span></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/libraries/Console-php.html#Console.log_memory" id=link243 onMouseOver="ShowTip(event, 'tt231', 'link243')" onMouseOut="HideTip('tt231')" class=ISymbol>log_memory</a>, <span class=IParent>Console</span></td></tr><tr><td class=ISymbolPrefix>$</td><td class=IEntry><a href="../files/core_modules/users/libraries/auth-php.html#Auth.$logged_in" id=link244 onMouseOver="ShowTip(event, 'tt232', 'link244')" onMouseOut="HideTip('tt232')" class=ISymbol>logged_in</a>, <span class=IParent>Auth</span></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files2/core_modules/activities-txt.html#Logging_User_Activity" id=link245 onMouseOver="ShowTip(event, 'tt233', 'link245')" onMouseOut="HideTip('tt233')" class=ISymbol>Logging User Activity</a></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><span class=ISymbol>login</span><div class=ISubIndex><a href="../files/core_modules/users/libraries/auth-php.html#Auth.login" id=link246 onMouseOver="ShowTip(event, 'tt234', 'link246')" onMouseOut="HideTip('tt234')" class=IParent>Auth</a><a href="../files/core_modules/users/controllers/users-php.html#Users.login" id=link247 onMouseOver="ShowTip(event, 'tt235', 'link247')" onMouseOut="HideTip('tt235')" class=IParent>Users</a></div></td></tr><tr><td class=ISymbolPrefix>$</td><td class=IEntry><a href="../files/core_modules/users/libraries/auth-php.html#Auth.$login_destination" id=link248 onMouseOver="ShowTip(event, 'tt236', 'link248')" onMouseOut="HideTip('tt236')" class=ISymbol>login_destination</a>, <span class=IParent>Auth</span></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><span class=ISymbol>logit</span><div class=ISubIndex><a href="../files/helpers/application_helper-php.html#logit" id=link249 onMouseOver="ShowTip(event, 'tt237', 'link249')" onMouseOut="HideTip('tt237')" class=IParent>Global</a><a href="../files/core/MY_Model-php.html#BF_Model.logit" id=link250 onMouseOver="ShowTip(event, 'tt238', 'link250')" onMouseOut="HideTip('tt238')" class=IParent>BF_Model</a></div></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><span class=ISymbol>logout</span><div class=ISubIndex><a href="../files/core_modules/users/libraries/auth-php.html#Auth.logout" id=link251 onMouseOver="ShowTip(event, 'tt239', 'link251')" onMouseOut="HideTip('tt239')" class=IParent>Auth</a><a href="../files/core_modules/users/controllers/users-php.html#Users.logout" id=link252 onMouseOver="ShowTip(event, 'tt240', 'link252')" onMouseOut="HideTip('tt240')" class=IParent>Users</a></div></td></tr><tr><td class=ISymbolPrefix>$</td><td class=IEntry><a href="../files/libraries/Console-php.html#Console.$logs" id=link253 onMouseOver="ShowTip(event, 'tt241', 'link253')" onMouseOut="HideTip('tt241')" class=ISymbol>logs</a>, <span class=IParent>Console</span></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files2/core_modules/logs-txt.html#Logs" id=link254 onMouseOver="ShowTip(event, 'tt242', 'link254')" onMouseOut="HideTip('tt242')" class=ISymbol>Logs</a></td></tr><tr><td class=ISymbolPrefix id=ILastSymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/core_modules/logs/controllers/developer-php.html#Logs_Developer_Context" id=link255 onMouseOver="ShowTip(event, 'tt243', 'link255')" onMouseOut="HideTip('tt243')" class=ISymbol>Logs Developer Context</a></td></tr></table>
<!--START_ND_TOOLTIPS-->
<div class=CToolTip id="tt181"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>private function generate_file(</td><td class=PParameter nowrap>$files</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>array(),</td></tr><tr><td></td><td class=PParameter nowrap>$file_name,</td><td class=PDefaultValuePrefix>&nbsp;&nbsp;</td><td class=PDefaultValue width=100%></td></tr><tr><td></td><td class=PParameter nowrap>$file_type</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>'css',</td></tr><tr><td></td><td class=PParameter nowrap>$type</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>''</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Locates file by looping through the active and default themes, and then the assets folder (as specified in the config file).</div></div><div class=CToolTip id="tt182"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>public static function get(</td><td class=PParameter nowrap>$var_name</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>null</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns a variable that has been previously set, or false if not exists. </div></div><div class=CToolTip id="tt183"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>public function get_available_versions(</td><td class=PParameter nowrap>$type</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>''</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Searches the migrations folder and returns a list of available migration files.</div></div><div class=CToolTip id="tt184"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>public function get_field(</td><td class=PParameter nowrap>$id</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>null,</td></tr><tr><td></td><td class=PParameter nowrap>$field</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>''</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>A convenience method to return only a single field of the specified row.</div></div><div class=CToolTip id="tt185"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>public function get_latest_version(</td><td class=PParameter nowrap>$type</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>''</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Retrieves the latest available version.</div></div><div class=CToolTip id="tt186"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>public function get_login_attempts(</td><td class=PParameter nowrap>$limit</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>15</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the most recent login attempts and their description.</div></div><div class=CToolTip id="tt187"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>public static function get_logs()</td></tr></table></blockquote>Returns the logs array for use in external classes. </div></div><div class=CToolTip id="tt188"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>public function get_role_permissions(</td><td class=PParameterPrefix nowrap>&amp;</td><td class=PParameter nowrap>$role</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Finds the permissions and role_permissions array for a single role.</div></div><div class=CToolTip id="tt189"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>public function get_schema_version(</td><td class=PParameter nowrap>$type</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>''</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Retrieves current schema version</div></div><div class=CToolTip id="tt190"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>public function get_table()</td></tr></table></blockquote>Allows you to get the table name</div></div><div class=CToolTip id="tt191"><div class=CSection>Getting started with Bonfire might require a bit of a learning curve, but we&rsquo;re doing our best to minimize it and make it as fun to use as possible.</div></div><div class=CToolTip id="tt192"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>function gravatar_link(</td><td class=PParameter nowrap>$email</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>null,</td></tr><tr><td></td><td class=PParameter nowrap>$size</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>48,</td></tr><tr><td></td><td class=PParameter nowrap>$alt</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>'',</td></tr><tr><td></td><td class=PParameter nowrap>$title</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>'',</td></tr><tr><td></td><td class=PParameter nowrap>$class</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>'',</td></tr><tr><td></td><td class=PParameter nowrap>$id</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>''</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Creates an image link based on Gravatar for the specified email address. </div></div><!--END_ND_TOOLTIPS-->


<!--START_ND_TOOLTIPS-->
<div class=CToolTip id="tt193"><div class=CSection>AJAX is handled pretty simply in Bonfire. </div></div><div class=CToolTip id="tt194"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>public function has_permission(</td><td class=PParameter nowrap>$permission</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%> null,</td></tr><tr><td></td><td class=PParameter nowrap>$role_id</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>null,</td></tr><tr><td></td><td class=PParameter nowrap>$override</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%> FALSE</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Verifies that the user is logged in and has the appropriate access permissions.</div></div><div class=CToolTip id="tt195"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>public function hash_password(</td><td class=PParameter nowrap>$old</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>''</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Generates a new salt and password hash for the given password.</div></div><div class=CToolTip id="tt196"><div class=CGeneric>Heirarchical Models Views and Controllers, or HMVC, provides a powerful new way to work build your web pages. </div></div><!--END_ND_TOOLTIPS-->


<!--START_ND_TOOLTIPS-->
<div class=CToolTip id="tt197"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>public function identity()</td></tr></table></blockquote>Retrieves the logged identity from the current session. </div></div><div class=CToolTip id="tt198"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>public static function image(</td><td class=PParameter nowrap>$image</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>null,</td></tr><tr><td></td><td class=PParameter nowrap>$extra_attrs</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>array()</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>A simple helper to build image tags.</div></div><div class=CToolTip id="tt199"><div class=CSection>There are certain concepts that, while not necessarily unique to Bonfire, will be important for you to understand to get the most out of Bonfire.</div></div><div class=CToolTip id="tt200"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>protected function increase_login_attempts(</td><td class=PParameter nowrap>$login</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>null</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Records a login attempt into the database.</div></div><div class=CToolTip id="tt201"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>public function index()</td></tr></table></blockquote>Displays a list of installed modules with the option to create a new one.</div></div><div class=CToolTip id="tt202"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>public function index()</td></tr></table></blockquote>Lists all log files and allows you to change the log_threshold.</div></div><div class=CToolTip id="tt203"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>public function index()</td></tr></table></blockquote>Lists all log files and allows you to change the log_threshold.</div></div><div class=CToolTip id="tt204"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>public static function init()</td></tr></table></blockquote>Load the assets config file, and inserts the base css and js into our array for later use. </div></div><div class=CToolTip id="tt205"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>public static function init()</td></tr></table></blockquote>Grabs an instance of CI and gets things ready to run.</div></div><div class=CToolTip id="tt206"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>public static function init()</td></tr></table></blockquote>Loads the config/events.php file into memory so we can access it later without the disk load.</div></div><div class=CToolTip id="tt207"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>public static function init()</td></tr></table></blockquote>Grabs an instance of the CI superobject, loads the Ocular config file, and sets our default layout.</div></div><div class=CToolTip id="tt208"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>public static function inline_js()</td></tr></table></blockquote>Does the actual work of generating the inline js code. </div></div><div class=CToolTip id="tt209"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>protected static $inline_scripts</td></tr></table></blockquote>An array of inline scripts to be placed at the end of the page.</div></div><div class=CToolTip id="tt210"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>public function insert(</td><td class=PParameter nowrap>$data</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>null</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Inserts a row of data into the database.</div></div><div class=CToolTip id="tt211"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>public function insert(</td><td class=PParameter nowrap>$data</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>array()</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Creates a new user in the database.</div></div><div class=CToolTip id="tt212"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>public function install(</td><td class=PParameter nowrap>$type</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>''</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Installs the schema up to the last version</div></div><div class=CToolTip id="tt213"><div class=CClass>Helps the developer with the initial install of the application for developement purposes by...</div></div><div class=CToolTip id="tt214"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>private $ip_address</td></tr></table></blockquote>Stores the ip_address of the current user for performance reasons.</div></div><div class=CToolTip id="tt215"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>public function is_logged_in()</td></tr></table></blockquote>Checks the session for the required info, then verifies against the database.</div></div><div class=CToolTip id="tt216"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>public function is_unique(</td><td class=PParameter nowrap>$field</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>'',</td></tr><tr><td></td><td class=PParameter nowrap>$value</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>''</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Checks whether a field/value pair exists within the table.</div></div><!--END_ND_TOOLTIPS-->


<!--START_ND_TOOLTIPS-->
<div class=CToolTip id="tt217"><div class=CFile>Version:     1.8.1 Author:      Allan Jardine (www.sprymedia.co.uk) Info:        www.datatables.net</div></div><div class=CToolTip id="tt218"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>public static function js(</td><td class=PParameter nowrap>$script</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>null,</td></tr><tr><td></td><td class=PParameter nowrap>$type</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>'external'</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Renders links to stylesheets, with the $asset_url prepended. </div></div><!--END_ND_TOOLTIPS-->


<!--START_ND_TOOLTIPS-->
<div class=CToolTip id="tt219"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>protected $key</td></tr></table></blockquote>The primary key of the table. </div></div><!--END_ND_TOOLTIPS-->


<!--START_ND_TOOLTIPS-->
<div class=CToolTip id="tt220"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>public function latest()</td></tr></table></blockquote>Set&rsquo;s the schema to the latest migration</div></div><div class=CToolTip id="tt221"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>public static $layout</td></tr></table></blockquote>The layout to render the views into.</div></div><div class=CToolTip id="tt222"><div class=CSection>Last Modified: May 24, 2010</div></div><div class=CToolTip id="tt223"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>public function limit(</td><td class=PParameter nowrap>$limit</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>0,</td></tr><tr><td></td><td class=PParameter nowrap>$offset</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>0</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Sets the limit portion of the query in a chainable format.</div></div><div class=CToolTip id="tt224"><div class=CGeneric>Whenever you have a link that you want to AJAX-ify, simply add the <u>ajaxify</u> class to the link. </div></div><div class=CToolTip id="tt225"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>public function load_permissions(</td><td class=PParameter nowrap>$role_id</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>null</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Load the permission details from the database into class properties</div></div><div class=CToolTip id="tt226"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>public static function load_view(</td><td class=PParameterPrefix nowrap></td><td class=PParameter nowrap>$view</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>null,</td></tr><tr><td></td><td class=PParameterPrefix nowrap></td><td class=PParameter nowrap>$data</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>null,</td></tr><tr><td></td><td class=PParameterPrefix nowrap></td><td class=PParameter nowrap>$override</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>'',</td></tr><tr><td></td><td class=PParameterPrefix nowrap></td><td class=PParameter nowrap>$is_themed</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>true,</td></tr><tr><td></td><td class=PParameterPrefix nowrap>&amp;</td><td class=PParameter nowrap>$output</td><td class=PDefaultValuePrefix>&nbsp;&nbsp;</td><td class=PDefaultValue width=100%></td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Loads a view based on the current themes.</div></div><div class=CToolTip id="tt227"><div class=CGeneric>The activities module primarily consists of a single model that allows you to get and save user activity. </div></div><div class=CToolTip id="tt228"><div class=CGeneric>The UI module is simply a helper file that provides additional functions. </div></div><div class=CToolTip id="tt229"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>public static function log(</td><td class=PParameter nowrap>$data</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>null</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Logs a variable to the console.</div></div><div class=CToolTip id="tt230"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>public function log_activity(</td><td class=PParameter nowrap>$user_id</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>null,</td></tr><tr><td></td><td class=PParameter nowrap>$activity</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>'',</td></tr><tr><td></td><td class=PParameter nowrap>$module</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>'any'</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Logs a new activity.</div></div><div class=CToolTip id="tt231"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>public static function log_memory(</td><td class=PParameter nowrap>$object</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>false,</td></tr><tr><td></td><td class=PParameter nowrap>$name</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>'PHP'</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Logs the memory usage a single variable, or the entire script.</div></div><div class=CToolTip id="tt232"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>private $logged_in</td></tr></table></blockquote>Stores the logged in value after the first test to improve performance.</div></div><div class=CToolTip id="tt233"><div class=CGeneric>You record new user activity through the <b>log_activity()</b> method.</div></div><div class=CToolTip id="tt234"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>public function login(</td><td class=PParameter nowrap>$login</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>null,</td></tr><tr><td></td><td class=PParameter nowrap>$password</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>null,</td></tr><tr><td></td><td class=PParameter nowrap>$remember</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>false</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Attempt to log the user in.</div></div><div class=CToolTip id="tt235"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>public function login()</td></tr></table></blockquote>Presents the login function and allows the user to actually login.</div></div><div class=CToolTip id="tt236"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>public $login_destination</td></tr></table></blockquote>The url to redirect to on successful login.</div></div><div class=CToolTip id="tt237"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>function logit(</td><td class=PParameter nowrap>$message</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>'',</td></tr><tr><td></td><td class=PParameter nowrap>$level</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>'debug'</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Logs an error to the Console (if loaded) and to the log files.</div></div><div class=CToolTip id="tt238"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>private function logit(</td><td class=PParameter nowrap>$message</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>'',</td></tr><tr><td></td><td class=PParameter nowrap>$level</td><td class=PDefaultValuePrefix>&nbsp;=&nbsp;</td><td class=PDefaultValue width=100%>'debug'</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Logs an error to the Console (if loaded) and to the log files.</div></div><div class=CToolTip id="tt239"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>public function logout()</td></tr></table></blockquote>Destroys the autologin information and the current session.</div></div><div class=CToolTip id="tt240"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>public function logout()</td></tr></table></blockquote>Calls the auth-&gt;logout method to destroy the session and cleanup, then redirects to the home page.</div></div><div class=CToolTip id="tt241"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype prettyprint"><tr><td>private static $logs</td></tr></table></blockquote>Contains all of the logs that are collected.</div></div><div class=CToolTip id="tt242"><div class=CSection>The Logs Module provides a simple way to view your log files and set how much information is logged.</div></div><div class=CToolTip id="tt243"><div class=CClass>Allows the developer to view the logs that have been generated by the system.</div></div><!--END_ND_TOOLTIPS-->

</div><!--Index-->


<div id=Footer><a href="http://www.naturaldocs.org">Generated by Natural Docs</a></div><!--Footer-->


<div id=Menu><div class=MTitle>Bonfire<div class=MSubTitle>Faster CodeIgniter Development</div></div><div class=MEntry><div class=MFile><a href="../files2/welcome-txt.html">Welcome to Bonfire</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent1')">Basic Info</a><div class=MGroupContent id=MGroupContent1><div class=MEntry><div class=MFile><a href="../files2/basic_info/requirements-txt.html">Server Requirements</a></div></div><div class=MEntry><div class=MFile><a href="../files2/basic_info/license-txt.html">License Agreement</a></div></div><div class=MEntry><div class=MFile><a href="../files2/basic_info/changelog-txt.html">Changelog</a></div></div><div class=MEntry><div class=MFile><a href="../files2/basic_info/credits-txt.html">Credits</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent2')">Installation</a><div class=MGroupContent id=MGroupContent2><div class=MEntry><div class=MFile><a href="../files2/installation/installing-txt.html">Fresh Installation</a></div></div><div class=MEntry><div class=MFile><a href="../files2/installation/troubleshooting-txt.html">Troubleshooting Guide</a></div></div><div class=MEntry><div class=MFile><a href="../files2/installation/upgrading-txt.html">Upgrading</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent3')">Introduction</a><div class=MGroupContent id=MGroupContent3><div class=MEntry><div class=MFile><a href="../files2/introduction/getting_started-txt.html">Getting Started</a></div></div><div class=MEntry><div class=MFile><a href="../files2/introduction/overview-txt.html">Bonfire Overview</a></div></div><div class=MEntry><div class=MFile><a href="../files2/introduction/concepts-txt.html">Important Concepts</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent4')">General Topics</a><div class=MGroupContent id=MGroupContent4><div class=MEntry><div class=MFile><a href="../files2/general_topics/ajax-txt.html">AJAX in Bonfire</a></div></div><div class=MEntry><div class=MFile><a href="../files2/general_topics/controllers-txt.html">Base Controllers</a></div></div><div class=MEntry><div class=MFile><a href="../files2/general_topics/contexts-txt.html">Contexts Overview</a></div></div><div class=MEntry><div class=MFile><a href="../files2/general_topics/module_overview-txt.html">Modules Overview</a></div></div><div class=MEntry><div class=MFile><a href="../files2/general_topics/application_folder-txt.html">Moving the Application Folder</a></div></div><div class=MEntry><div class=MFile><a href="../files2/general_topics/site_areas-txt.html">Site Areas</a></div></div><div class=MEntry><div class=MFile><a href="../files2/general_topics/event_hooks-txt.html">System Events</a></div></div><div class=MEntry><div class=MFile><a href="../files2/general_topics/auth_notes-txt.html">Understanding Authentication</a></div></div><div class=MEntry><div class=MFile><a href="../files2/general_topics/unit_testing-txt.html">Unit Testing</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent5')">Core Modules</a><div class=MGroupContent id=MGroupContent5><div class=MEntry><div class=MFile><a href="../files2/core_modules/activities-txt.html">Activities</a></div></div><div class=MEntry><div class=MFile><a href="../files2/core_modules/database-txt.html">Database</a></div></div><div class=MEntry><div class=MFile><a href="../files2/core_modules/emailer-txt.html">Emailer</a></div></div><div class=MEntry><div class=MFile><a href="../files2/core_modules/logs-txt.html">Logs</a></div></div><div class=MEntry><div class=MFile><a href="../files2/core_modules/migrations-txt.html">Migrations</a></div></div><div class=MEntry><div class=MFile><a href="../files2/core_modules/permissions-txt.html">Permissions</a></div></div><div class=MEntry><div class=MFile><a href="../files2/core_modules/roles-txt.html">Roles</a></div></div><div class=MEntry><div class=MFile><a href="../files2/core_modules/tester-txt.html">Tester</a></div></div><div class=MEntry><div class=MFile><a href="../files2/core_modules/ui-txt.html">UI</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent6')">Designers</a><div class=MGroupContent id=MGroupContent6><div class=MEntry><div class=MFile><a href="../files2/designers/introduction-txt.html">Designer Introduction</a></div></div><div class=MEntry><div class=MFile><a href="../files2/designers/views-txt.html">Views and Layouts</a></div></div><div class=MEntry><div class=MFile><a href="../files2/designers/blocks-txt.html">Blocks</a></div></div><div class=MEntry><div class=MFile><a href="../files2/designers/data-txt.html">Dynamic Data</a></div></div><div class=MEntry><div class=MFile><a href="../files2/designers/flash-txt.html">Flash Messages</a></div></div><div class=MEntry><div class=MFile><a href="../files2/designers/ajax-txt.html">Handling AJAX</a></div></div><div class=MEntry><div class=MFile><a href="../files2/designers/utilities-txt.html">Template Utility Functions</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent7')">Tutorials</a><div class=MGroupContent id=MGroupContent7><div class=MEntry><div class=MFile><a href="../files3/todo-txt.html">ToDo Module</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent15')">Class Reference</a><div class=MGroupContent id=MGroupContent15><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent8')">Core Overrides</a><div class=MGroupContent id=MGroupContent8><div class=MEntry><div class=MFile><a href="../files/core/MY_Model-php.html">BF_Model</a></div></div><div class=MEntry><div class=MFile><a href="../files/core/MY_Controller-php.html">Controllers</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent9')">Models</a><div class=MGroupContent id=MGroupContent9><div class=MEntry><div class=MFile><a href="../files/core_modules/roles/models/role_model-php.html">Role_model</a></div></div><div class=MEntry><div class=MFile><a href="../files/core_modules/roles/models/role_permission_model-php.html">Role_permission_model</a></div></div><div class=MEntry><div class=MFile><a href="../files/core_modules/permissions/models/permission_model-php.html">Permission_model</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent10')">Helpers</a><div class=MGroupContent id=MGroupContent10><div class=MEntry><div class=MFile><a href="../files/helpers/address_helper-php.html">Address Helper</a></div></div><div class=MEntry><div class=MFile><a href="../files/helpers/application_helper-php.html">Application Helper</a></div></div><div class=MEntry><div class=MFile><a href="../files/helpers/MY_array_helper-php.html">Array Helper</a></div></div><div class=MEntry><div class=MFile><a href="../files/helpers/config_file_helper-php.html">Config File Helper</a></div></div><div class=MEntry><div class=MFile><a href="../files/helpers/MY_date_helper-php.html">MY_date_helper</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent11')">Libraries</a><div class=MGroupContent id=MGroupContent11><div class=MEntry><div class=MFile><a href="../files/libraries/assets-php.html">Assets</a></div></div><div class=MEntry><div class=MFile><a href="../files/libraries/Console-php.html">Console</a></div></div><div class=MEntry><div class=MFile><a href="../files/libraries/events-php.html">Events Class</a></div></div><div class=MEntry><div class=MFile><a href="../files/libraries/template-php.html">Template</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent14')">Core Modules</a><div class=MGroupContent id=MGroupContent14><div class=MEntry><div class=MFile><a href="../files/core_modules/activities/models/activity_model-php.html">Activities</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent12')">Emailer</a><div class=MGroupContent id=MGroupContent12><div class=MEntry><div class=MFile><a href="../files/core_modules/emailer/libraries/emailer-php.html">Emailer Library</a></div></div><div class=MEntry><div class=MFile><a href="../files/core_modules/emailer/controllers/settings-php.html">Emailer Settings Context</a></div></div></div></div></div><div class=MEntry><div class=MFile><a href="../files/core_modules/install/controllers/install-php.html">Install</a></div></div><div class=MEntry><div class=MFile><a href="../files/core_modules/logs/controllers/developer-php.html">Logs Developer Context</a></div></div><div class=MEntry><div class=MFile><a href="../files/core_modules/migrations/libraries/Migrations-php.html">Migrations</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent13')">Users</a><div class=MGroupContent id=MGroupContent13><div class=MEntry><div class=MFile><a href="../files/core_modules/users/libraries/auth-php.html">Auth Library</a></div></div><div class=MEntry><div class=MFile><a href="../files/core_modules/users/controllers/users-php.html">Users Controller</a></div></div><div class=MEntry><div class=MFile><a href="../files/core_modules/users/models/user_model-php.html">User Model</a></div></div></div></div></div></div></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent17')">Bonfire</a><div class=MGroupContent id=MGroupContent17><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent16')">Activities</a><div class=MGroupContent id=MGroupContent16><div class=MEntry><div class=MFile><a href="../files/core_modules/activities/controllers/activities-php.html">Activities</a></div></div><div class=MEntry><div class=MFile><a href="../files/core_modules/activities/controllers/reports-php.html">Activities Reports Context</a></div></div><div class=MEntry><div class=MFile><a href="../files/core_modules/activities/assets/js/jquery-dataTables-min-js.html">jquery.<wbr>dataTables.<wbr>min.js</a></div></div><div class=MEntry><div class=MFile><a href="../files/core_modules/activities/views/reports/datatable_js-php.html">views/<wbr>reports/<wbr>datatable_js.php</a></div></div></div></div></div><div class=MEntry><div class=MFile><a href="../files/core_modules/modulebuilder/views/files/controller-php.html">modulebuilder/.../files/<wbr>controller.php</a></div></div><div class=MEntry><div class=MFile><a href="../files/core_modules/modulebuilder/controllers/developer-php.html">modulebuilder/<wbr>controllers/<wbr>developer.php</a></div></div><div class=MEntry><div class=MFile><a href="../files/core_modules/roles/controllers/settings-php.html">roles/<wbr>controllers/<wbr>settings.php</a></div></div><div class=MEntry><div class=MFile><a href="../files/core_modules/subnav/controllers/subnav-php.html">subnav/<wbr>controllers/<wbr>subnav.php</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent18')">Index</a><div class=MGroupContent id=MGroupContent18><div class=MEntry><div class=MIndex id=MSelected>Everything</div></div><div class=MEntry><div class=MIndex><a href="Classes.html">Classes</a></div></div><div class=MEntry><div class=MIndex><a href="Functions.html">Functions</a></div></div><div class=MEntry><div class=MIndex><a href="Variables.html">Variables</a></div></div><div class=MEntry><div class=MIndex><a href="Files.html">Files</a></div></div></div></div></div><script type="text/javascript"><!--
var searchPanel = new SearchPanel("searchPanel", "HTML", "../search");
--></script><div id=MSearchPanel class=MSearchPanelInactive><input type=text id=MSearchField value=Search onFocus="searchPanel.OnSearchFieldFocus(true)" onBlur="searchPanel.OnSearchFieldFocus(false)" onKeyUp="searchPanel.OnSearchFieldChange()"><select id=MSearchType onFocus="searchPanel.OnSearchTypeFocus(true)" onBlur="searchPanel.OnSearchTypeFocus(false)" onChange="searchPanel.OnSearchTypeChange()"><option  id=MSearchEverything selected value="General">Everything</option><option value="Classes">Classes</option><option value="Files">Files</option><option value="Functions">Functions</option><option value="Variables">Variables</option></select></div><script language=JavaScript><!--
HideAllBut([18], 19);// --></script></div><!--Menu-->


<div id=MSearchResultsWindow><iframe src="" frameborder=0 name=MSearchResults id=MSearchResults></iframe><a href="javascript:searchPanel.CloseResultsWindow()" id=MSearchResultsWindowClose>Close</a></div>


<script language=JavaScript><!--
if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html>